package org.redmagic.common;

import java.io.Serializable;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonProperty;

public class MagicResponse implements Serializable {

	private static final long serialVersionUID = 5329388680684712951L;
	
	private final Set<MagicProperty> resolvedProperties;
	
	public MagicResponse(@JsonProperty("resolvedProperties") Set<MagicProperty> resolvedProperties) {
		this.resolvedProperties = resolvedProperties;
	}
	
	public Set<MagicProperty> getResolvedProperties() {
		return resolvedProperties;
	}
	
	@Override
	public String toString() {
		return resolvedProperties.toString();
	}
}
